package com.likuicat.picture_ddd;

import org.apache.shardingsphere.spring.boot.ShardingSphereAutoConfiguration;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.EnableAspectJAutoProxy;
import org.springframework.scheduling.annotation.EnableAsync;

//排除分库分表配置
@SpringBootApplication(exclude = {ShardingSphereAutoConfiguration.class})
@MapperScan("com.likuicat.picture_ddd.infrastructure.mapper")
@EnableAsync
@EnableAspectJAutoProxy(exposeProxy = true) //暴露代理，切面类增强
public class PictureBackendApplication {

    public static void main(String[] args) {
        SpringApplication.run(PictureBackendApplication.class, args);
    }

}
